package router

import (
	"minio-webhook/api"

	"github.com/gin-gonic/gin"
)

func SetupRouter() *gin.Engine {
	r := gin.Default()
	r.POST("/minio/webhook", api.HandleWebhook)
	return r
}
